package com.site.dao.impl.master;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.site.dao.master.CityDao;
import com.site.dto.master.CityBizBean;
import com.site.model.master.CityInfo;
import com.site.util.base.dao.BaseDaoImpl;

/**
 * 城市Dao
 * @author lee
 * @date 2013年11月7日
 */
@Repository
public class CityDaoImpl extends BaseDaoImpl implements CityDao {
 
	@Override
	public List<CityInfo> getCitys(CityBizBean vo) {
		String hql = "from CityInfo ";
		Map<String, Object> params = new HashMap<String, Object>();
		List<CityInfo> objList = this.findByHQL(hql,params);
		if(null == objList || objList.size()==0)
			return null;
		return objList;
	}

}
